package com.atguigu.msm.utils;

import com.aliyun.dysmsapi20170525.Client;

import com.aliyun.tea.*;
import com.aliyun.dysmsapi20170525.*;
import com.aliyun.dysmsapi20170525.models.*;
import com.aliyun.teaopenapi.*;
import com.aliyun.teaopenapi.models.*;
import com.aliyun.teautil.*;
import com.aliyun.teautil.models.*;
public class MsmUtils {

    public static Client createClient() throws Exception{
        String accessKeyId = "LTAI5tFUQq3e7DS1GeSwkqD4";
        String accessKeySecret = "FAgwX77dxZM1EKeFVgD0CosdeetVw9";
        Config config = new Config()
                // 您的 AccessKey ID
                .setAccessKeyId(accessKeyId)
                // 您的 AccessKey Secret
                .setAccessKeySecret(accessKeySecret);
        config.endpoint = "dysmsapi.aliyuncs.com";
        return new Client(config);
    }
}
